package com.meitianhui.convenitenbuy.module.order.contract;

import com.meitianhui.convenitenbuy.base.BasePresenter;
import com.meitianhui.convenitenbuy.base.BaseView;
import com.meitianhui.convenitenbuy.module.home.model.bean.OneOrder;
import com.meitianhui.convenitenbuy.module.order.model.bean.UsableCash;

/**
 * Created by Administrator on 2017/11/1.
 */

public interface OrderPayContract {
    interface View extends BaseView<Presenter> {


        void getUsableCashSuccess(UsableCash data);

        void onFail(int code,String msg);


        void walletPaySuccess();

    }

    interface Presenter extends BasePresenter {



        void getUsableCash();

        void orderPay(String fromPage,int payType,String num,String itemId,String feedBack, String price,String deliveryAddress, String contactPerson, String contactTel, OneOrder oneOrder);




    }
}
